package com.heima.pojo.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 售货机类型表
 * </p>
 *
 * @author xjy
 * @since 2024-06-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_vm_type")
public class VmTypeDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "type_id", type = IdType.AUTO)
    private Integer typeId;

    @ApiModelProperty(value = "行数")
    @TableField("vm_row")
    private Integer vmRow;

    @ApiModelProperty(value = "列数")
    @TableField("vm_col")
    private Integer vmCol;

    @ApiModelProperty(value = "类型名")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "货道最大容量")
    @TableField("channel_max_capacity")
    private Integer channelMaxCapacity;

    @ApiModelProperty(value = "型号")
    @TableField("model")
    private String model;

    @TableField("image")
    private String image;


}
